package com.snopy.concurrency.atomic;

import java.util.concurrent.atomic.AtomicMarkableReference;

/**
 * @author snopy
 * @version 1.0.0
 * @classname SimpleNode
 * @description
 * @email 77912204@qq.com
 * @date 2022/06/28 15:46
 */
public class Node {
    int value;
    AtomicMarkableReference<Node> next;

    public Node(int value, Node next) {
        this.value = value;
        this.next = new AtomicMarkableReference<>(next,false);
    }
}
